Repository navigation
typescript: tripwire test for the upstream Windows js_binary launcher bug (part of #13889) - #14260
Merged
Merged
Conversation
… bug (part of #13889) Add //typescript/tests:windows_tool_tests_upstream_launcher, an analysis test that asserts the bazel_lib Windows launcher still runs the sibling .sh without exporting RUNFILES_MANIFEST_FILE. It fails, naming #13889, once a bazel_lib or rules_js bump changes the launcher, so the js_build_tool shim can be removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hzWDHEg9zNhhTJrJ7t
TrapsterDK
force-pushed
the
issue-13889-launcher-tripwire
branch
from
November 20, 2026 21:30
8b73476 to
9031294
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #13889.
Adds
//typescript/tests:windows_tool_tests_upstream_launcher(in thewindows_tool_testssuite). It asserts that the bazel_lib Windows launcher for@npm_typescript//:tscis stilltsc.batand that its body, with the rlocation function removed, still runs the sibling.shwithout exportingRUNFILES_MANIFEST_FILE. If a bazel_lib or rules_js bump changes this, the test fails with "the upstream Windows js_binary launcher changed; check whether js_build_tool can be removed (#13889)". Thejs_build_tooldocstring now names the test.Remaining for #13889:
js_build_tooland every caller ingit grep js_build_tool, the tripwire test, and thetypescript/private/proto.bzl:46note.//examples/adopt-polyglot:consumer_testvia evidence.yml on windows_x86_64 and windows_arm64.Tests:
bazel test //typescript/tests:windows_tool_tests: 19/19 pass.windows_tool_tests_upstream_launcherFAIL with the windows: drop the js_binary build-tool shim once bazel-lib or rules_js export the runfiles manifest again (part of #13788) #13889 message. Reverted afterwards.tools/dx check --affected: not finished. I stopped it after the 20-minute local wait budget.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hzWDHEg9zNhhTJrJ7t